﻿package mortal.game.resource.info
{

    public class GMapInfo extends Object
    {
        public var id:int;
        public var name:String;
        public var version:String;
        public var hasBossPoint:Boolean;
        public var copyid:int;
        public var des:String;
        public var mapscene:int;
        public var sceneEffect:String;
        public var enterEffect:String;
        public var enterMusic:String;
        public var bgMusic:String;
        public var bgMusicInterval:int;
        public var bgInfo:GMapBgInfo;
        private var _desArray:Array;

        public function GMapInfo()
        {
            return;
        }// end function

        public function get desArray() : Array
        {
            if (!this._desArray)
            {
                if (this.des)
                {
                    this._desArray = this.des.split("|");
                }
                else
                {
                    return [];
                }
            }
            return this._desArray;
        }// end function

    }
}
